<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/ExportBusiness/tpl/salestarget.css">
<div  class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>结汇目标</span>
        </div>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md2">
                    <div class="searchs">
                        <label>人员：</label>
                        <input class="text layui-input" type="text" name="username" id="personnel" autocomplete="off">
                        <button class="layui-btn layui-btn-sm layui-btn-normal" id="searchs">搜索</button>
                    </div>
                    <ul class="layui-nav layui-nav-tree layui-inline" id="targetgroupnav" lay-filter="targetgroupnav" style="margin-right: 10px;"></ul>
                </div>
                <div class="layui-col-md10">
                    <table class="layui-table" id="targetid" lay-filter="targettable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="layui-row" id="targetUpdate" style="display:none;">
    <div class="layui-col-md12 targetUpdate-form">
        <form class="layui-form layui-from-pane" action="" style="margin-top:20px" id="targetUpdateform" lay-filter="targetUpdateform">
            <div class="layui-form-item">
                <label class="layui-form-label xb_required">目标日期</label>
                <div class="layui-input-bloc">
                    <div class="datediv">
                        <input type="text" class="layui-input starttime" lay-verify="required|date" name="targetdate" placeholder="年 - 月 - 日" lay-key="1">&nbsp;至&nbsp;<input type="text" class="layui-input starttime" lay-verify="required|date" name="endtargetdate" placeholder="年 - 月 - 日" lay-key="2">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label xb_required">美元目标金额</label>
                <div class="layui-input-block">
                    <input type="text" name="dollartargetamount" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item" style="margin-top:10px">
                <div class="layui-input-block">
                    <a class="layui-btn  layui-btn-submit " lay-submit="" lay-filter="saves">保存</a>
                </div>
            </div>
        </form>
    </div>
</div>

<script type="text/html" id="toolbarDemo">
    <button class="layui-btn layui-btn-sm" data-type="getCheckData" lay-event="newtarget"><i class="layui-icon layui-icon-addition"></i>新增</button>
    <button class="layui-btn layui-btn-sm layui-btn-danger"  lay-event="deltarget"><i class="layui-icon layui-icon-delete"></i>删除</button>
</script>
<script type="text/html" id="targeteditor">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
</script>

<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/ExportBusiness/tpl/settlementexchangetargets.js"></script>